package com.blog.service.impl;

import com.blog.dao.UsersDao;
import com.blog.dao.impl.UsersDaoImpl;
import com.blog.pojo.Users;
import com.blog.service.UsersService;

/**
 * 业务逻辑层的实现层
 */
public class UsersServiceImpl implements UsersService {

    //调用Dao数据库访问层
    UsersDao usersDao=new UsersDaoImpl();

    @Override
    public Users login(String username, String password) {
        return usersDao.login(username,password);
    }
}
